<template>
  <div id="second">
    <div v-for="(list, index) in goodsList" :key="index">
      <img :src="'../../../../../binbing/minePagePublic/second' + list.img + '.webp'" />
      <span>{{ list.name }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "PersonalNav",
  data() {
    return {
      goodsList: [
        {
          img: "01",
          name: "会员频道",
        },
        {
          img: "02",
          name: "积分商城",
        },
        {
          img: "03",
          name: "拼团",
        },
        {
          img: "04",
          name: "领券中心",
        },
        {
          img: "05",
          name: "优购码",
        },
        {
          img: "06",
          name: "福利中心",
        },
        {
          img: "07",
          name: "企业购",
        },
        {
          img: "08",
          name: "教育商店",
        },
        {
          img: "09",
          name: "关注店铺",
        },
        {
          img: "10",
          name: "众测",
        },
      ],
    };
  },
};
</script>

<style scoped>
#second {
  margin: 0.12rem 0.16rem 0;
  height: 1.64rem;
  background-color: #fff;
  border-radius: 0.16rem;
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  padding-top: 0.1rem;
  box-sizing: border-box;
  flex-wrap: wrap;
}
#second > div {
  width: 0.764rem;
  height: 0.72rem;
}
#second > div img {
  width: 0.48rem;
  height: 0.48rem;
  display: block;
  margin: auto;
}
#second > div span {
  display: block;
  padding: 0.04rem 0;
  text-align: center;
  font-size: 0.12rem;
  line-height: 0.16rem;
  font-weight: 400;
  opacity: 0.9;
}
</style>